package com.jboa.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Tuser entity. @author MyEclipse Persistence Tools
 */

public class Tuser implements java.io.Serializable {

	// Fields

	private String id;
	private Trole trole;
	private Department department;
	private Job job;
	private String username;
	private String password;
	private String phone;
	private String address;
	private String qq;
	private String email;
	private String status;
	private Set profiles = new HashSet(0);

	// Constructors

	/** default constructor */
	public Tuser() {
	}

	/** minimal constructor */
	public Tuser(String id, String username, String password, String status) {
		this.id = id;
		this.username = username;
		this.password = password;
		this.status = status;
	}

	/** full constructor */
	public Tuser(String id, Trole trole, Department department, Job job,
			String username, String password, String phone, String address,
			String qq, String email, String status, Set profiles) {
		this.id = id;
		this.trole = trole;
		this.department = department;
		this.job = job;
		this.username = username;
		this.password = password;
		this.phone = phone;
		this.address = address;
		this.qq = qq;
		this.email = email;
		this.status = status;
		this.profiles = profiles;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Trole getTrole() {
		return this.trole;
	}

	public void setTrole(Trole trole) {
		this.trole = trole;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public Job getJob() {
		return this.job;
	}

	public void setJob(Job job) {
		this.job = job;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getQq() {
		return this.qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Set getProfiles() {
		return this.profiles;
	}

	public void setProfiles(Set profiles) {
		this.profiles = profiles;
	}

}